package com.delong.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.delong.model.app.Tags;

public interface TagsMapper {
	// $('#cc').combobox('setValues', ['001','002']);
	void addElement(Tags element);

	List<Tags> selectTagsByName(@Param(value = "tags") String name, @Param("pageno") int pageno,
			@Param("limit") int limit);

	List<Tags> selectALLTags();

	int selectCount(@Param(value = "tags") String name);

	int changeStatus(@Param(value = "status") int status, @Param("id") int id);

	int changeTags(Tags element);

	Tags selectTagsById(@Param(value = "id") int id);
	
	int changeappCounts(@Param("list")List<Integer> ids,@Param("step")String step);
}
